package com.tedu.bill.demo1;

/**
 * Author：毕龙
 * Date: 2024/5/21 11:17
 */
public class TestFinally {
    public static void main(String[] args) {
        int print = print();
        System.out.println(print);
    }

    public static int print(){
        try {
            int i = 1 /0;
            return 10;
        }catch (ArithmeticException e){
            return 100;
        }finally {
            return 1000;
        }
    }
}
